Remove xmlns from <Document> tag.
authorrobertl <robertl>
Thu, 30 Nov 2006 03:29:15 +0000 (03:29 +0000)
committerrobertl <robertl>
Thu, 30 Nov 2006 03:29:15 +0000 (03:29 +0000)
kml.c
reference/earth-expertgps.kml
reference/earth-gc.kml

diff --git a/kml.c b/kml.c
index 3e27f33d36c33d42efe7248a0cd8e978651b18e4..bd4bc4bbb22c0d46714116d1eeb68c55e109cfcb 100644 (file)
--- a/kml.c
+++ b/kml.c
@@ -803,7 +803,7 @@ void kml_write(void)
 
        kml_write_xml(0,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
        kml_write_xml(1,"<kml xmlns=\"http://earth.google.com/kml/2.1\">\n");
-       kml_write_xml(1,"<Document xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n");
+       kml_write_xml(1,"<Document>\n");
 
        now = current_time();
        strftime(import_time, sizeof(import_time), "%c", localtime(&now));
index 3d97dacac8b38d5f9a600a89ea198a6796f26b03..0d6cc5d2ada9803f99ca15d1f08285f476671e36 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <kml xmlns="http://earth.google.com/kml/2.1">
-  <Document xmlns:xlink="http://www.w3.org/1999/xlink">
+  <Document>
     <name>GPS device</name>
 <!-- Normal route style -->
     <Style id="route_n">
index 87c3b9c96f060bd33f058138cd72463caaa6ab9d..556b0b55c9c1abc5ce2278f8fed5e1bae087c8dd 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <kml xmlns="http://earth.google.com/kml/2.1">
-  <Document xmlns:xlink="http://www.w3.org/1999/xlink">
+  <Document>
     <name>GPS device</name>
 <!-- Normal route style -->
     <Style id="route_n">